package com.itheima.domain.db;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
//用户问卷锁
public class Userlock implements Serializable {

    private Long id;
    private Long userId;
    private Long questionnaireId;
    private Integer isLock;

    public Userlock(Long userId, Long questionnaireId, Integer isLock) {
        this.userId = userId;
        this.questionnaireId = questionnaireId;
        this.isLock = isLock;
    }
}
